package com.endoc.designpattern.command.handlerCommand;

import com.endoc.designpattern.command.Command;
import com.endoc.designpattern.command.handler.HotHandler;
import com.endoc.designpattern.command.handler.NewsHandler;

/**
 *热门指令
 */
public class HotCommand implements Command {
    HotHandler hotHandler =new HotHandler();
    @Override
    public void execute()
    {
        hotHandler.getHotName();
    }
}
